home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Events / EventManagerUser.cp next >
Text File  |  1997-06-28  |  392b  |  24 lines

  1. // EventManagerUser.cp
  2.  
  3. #ifndef EventManagerUser_h
  4. #include "EventManagerUser.h"
  5. #endif
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9. #ifndef DialogManagerUser_h
  10. #include "DialogManagerUser.h"
  11. #endif
  12.  
  13. EventManagerUser::EventManagerUser()
  14.   {
  15.     static bool initialized = false;
  16.     
  17.     if ( !initialized )
  18.       {
  19.         DialogManagerUser();
  20.         FlushEvents( everyEvent, 0 );
  21.         initialized = true;
  22.       }
  23.   }
  24.